package com.structure.project.root;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DruidDataSourceAutoConfigure.class})
@MapperScan(value = "com.structure.project.infrastructure.*.mapper")
@EnableAspectJAutoProxy
@EnableConfigurationProperties
//@EnableFeignClients
public class RootApplication {
    public static void main(String[] args) {
        SpringApplication.run(RootApplication.class);
    }
}